package com.qdu.entity;

public class Grade {
	private int gradeId;
	private Student student;
	private CoursePlan coursePlan;
	private int grade;
	private int pass;
	
	public Grade() {
	}

	public Grade(int grade, int pass) {
		this.grade = grade;
		this.pass = pass;
	}

	@Override
	public String toString() {
		return "Grade [gradeId=" + gradeId + ", student=" + student + ", coursePlan=" + coursePlan + ", grade=" + grade
				+ ", pass=" + pass + "]";
	}

	public int getGradeId() {
		return gradeId;
	}

	public void setGradeId(int gradeId) {
		this.gradeId = gradeId;
	}

	public CoursePlan getCoursePlan() {
		return coursePlan;
	}

	public void setCoursePlan(CoursePlan coursePlan) {
		this.coursePlan = coursePlan;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public int getPass() {
		return pass;
	}

	public void setPass(int pass) {
		this.pass = pass;
	}

}
